package com.fuluwa.interfaces.bank.facade;

import java.math.BigDecimal;

import com.fuluwa.domain.vendor.model.Vendor;
import com.fuluwa.infra.exception.PersistenceException;

public interface BankServiceFacade {
	String getAccountNo(String loginName);

	ResponseDTO prepareDeposit(String accountNo, BigDecimal amount, Vendor vendor, String desc)
			throws PersistenceException;

	void doDeposit(String referenceNo, String responseContent, Vendor vendor) throws PersistenceException;

	ResponseDTO prepareWithdrawl(String accountNo, BigDecimal amount, Vendor vendor, String desc)
			throws PersistenceException;

	void doWithdrawl(String referenceNo, String responseContent, Vendor vendor) throws PersistenceException;

}
